Eecient Demultiplexing of Network Packets by Automatic Parsing Eecient Demultiplexing of Network Packets by Automatic Parsing
نویسندگان
چکیده
Packet lters are a mechanism for eeciently demultiplexing network packets to application endpoints. There is currently no general, formal speciication method for packet lters that allows for easy or eecient composition of speciications. In this paper we present an automatic approach that achieves all of these goals. We approach packet lter speciication as a language recognition problem: each lter is represented by a context-free grammar, whose language is the set of packets the lter should accept. Thus, packet lters can be formulated through a general, well deened speciication; further, the grammar-based approach simpliies lter composition, which is essential where scalability is important. However packet lters based on standard LR parsing techniques suuer from poor performance: they touch every portion of the input, they check input bit by bit, they occupy large amount of space. We present new optimizations to LR parsing that enable our automatic approach to overcome the above problems and achieve performance rivalling hand-crafted approaches. We present results that compare our approach to the BSD packet lter for TCP connections; our approach shows signiicant improvement when there are multiple lters installed: for 50 TCP connections our approach is 6 times faster.
منابع مشابه
Efficient Demultiplexing of Network Packets by Automatic Parsing
Packet filters are a mechanism for efficiently demultiplexing network packets to application endpoints. There is currently no general, formal specification method for packet filters that allows for easy or efficient composition of specifications. In this paper we present an automatic approach that achieves all of these goals. We approach packet filter specification as a language recognition pro...
متن کاملFGFFQ: A Scalable Real-Time Packet Scheduling Technique for Terabit Routers
Weighted Fair Queuing (WFQ) is a packet scheduling technique that has been proposed and is currently used in modern network routers to provide end-to-end delay and bandwidth guarantees. Unfortunately the scalability of existing WFQ implementation techniques in large-scale backbone routers is relatively poor. Various approximation techniques have been proposed to improve WFQ's scheduling eecienc...
متن کاملبررسی مقایسهای تأثیر برچسبزنی مقولات دستوری بر تجزیه در پردازش خودکار زبان فارسی
In this paper, the role of Part-of-Speech (POS) tagging for parsing in automatic processing of the Persian language is studied. To this end, the impact of the quality of POS tagging as well as the impact of the quantity of information available in the POS tags on parsing are studied. To reach the goals, three parsing scenarios are proposed and compared. In the first scenario, the parser assigns...
متن کاملNew High Secure Network Steganography Method Based on Packet Length
In network steganography methods based on packet length, the length of the packets is used as a carrier for exchanging secret messages. Existing methods in this area are vulnerable against detections due to abnormal network traffic behaviors. The main goal of this paper is to propose a method which has great resistance to network traffic detections. In the first proposed method, the sender embe...
متن کاملبرچسبزنی خودکار نقشهای معنایی در جملات فارسی به کمک درختهای وابستگی
Automatic identification of words with semantic roles (such as Agent, Patient, Source, etc.) in sentences and attaching correct semantic roles to them, may lead to improvement in many natural language processing tasks including information extraction, question answering, text summarization and machine translation. Semantic role labeling systems usually take advantage of syntactic parsing and th...
متن کامل